<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <base th:href="@{/}">
    <meta charset="UTF-8">
    <title>公告详情</title>
    <link rel="stylesheet" href="/css/bootstrap.min.css" />
    <link rel="stylesheet" href="/css/mainstyle.css" />
    <script src="js/jquery.min.js"></script>
</head>
<body>
<div th:if="${session.Doctor}" th:insert="~{doctor/header}"></div>
<div th:if="${session.User}" th:insert="~{user/header}"></div>
<main id="main">
    <!--副标题-->
    <section class="breadcrumbs">
        <div class="container">
            <div class="d-flex justify-content-between align-items-center">
                <h2>公告</h2>
                <ol>
                    <li><a href="#">首页</a></li>
                    <li><a href="#">公告</a></li>
                </ol>
            </div>
        </div>
    </section>
    <section class="inner-page">
        <div class="container ">
            <div class="card">
                <a th:href="@{/lastedBoardList}" class="btn btn-success float-right  "
                   style="font-size: 10px;width: 50px; margin: 10px;color: #0accce;background: #e5fcfb;border-color: #ace2dd;">返回</a>
                <div class="card-body">
                    <h1 class="card-title  text-center" th:text="${boardDetail.title}">公告标题</h1>
                    <div class="row">
                        <div class="col-xs-6 text-center">
                            <p class="card-text" th:text="'发布时间：' + ${boardDetail.getFbrq()}">发布时间</p>
                        </div>
                        <div class="col-xs-6 text-center">
                            <p class="card-text" th:text="'发布人：' + ${boardDetail.getFbr()}">发布人</p>
                        </div>
                    </div>
                    <div class="card-text text-right" th:text="${boardDetail.content}">公告内容</div>
                </div>
            </div>
        </div>
    </section>
</main>
</body>
</html>